package com.vdm.dao;

import com.vdm.model.UserInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(UserInfo record);

    int insertSelective(UserInfo record);

    UserInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(UserInfo record);

    int updateByPrimaryKey(UserInfo record);

    UserInfo selectByLoginName(String loginName);

    List<UserInfo> listUser();

    int getUserCount();

    int updateUserStatus(@Param("ids") List<Integer> ids, @Param("type") Integer type);

}